package com.kitty.game.welfare.message;

import com.kitty.game.welfare.message.vo.RechargeItem;
import com.kitty.mina.Modules;
import com.kitty.mina.annotation.IntegerField;
import com.kitty.mina.annotation.ListField;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

//@MessageMeta(module = Modules.MSG_RECHARGE_SCORE_GOODS_LIST)
//@Setter
//@Getter
//public class RespRechargeScoreGoodsList extends Message {
//    private int startTime;
//    private int endTime;
//    private int deadline;
//
//    private int ownPoint;
//    private short totalPoint;
//    @ListField(1)
//    private List<RechargeItem> itemList;
//}
//积分商城---------------
@MessageMeta(module = Modules.MSG_RECHARGE_SCORE_GOODS_LIST)
@Setter
@Getter
public class RespRechargeScoreGoodsList extends Message {
    private int startTime;
    private int endTime;
    private int deadline;
    @IntegerField(1)
    private int ownPoint;
    private short totalPoint;
    @ListField(1)
    private List<RechargeItem> itemList;
}

